package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 维修人员
对象 repairers
 * 
 * @author 王云锦
 * @date 2023-04-07
 */
public class Repairers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 接单总数 */
    @Excel(name = "接单总数")
    private Long completedOrders;

    /** 当前订单信息 */
    @Excel(name = "当前订单信息")
    private String currentOrderInfo;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancellationTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCompletedOrders(Long completedOrders) 
    {
        this.completedOrders = completedOrders;
    }

    public Long getCompletedOrders() 
    {
        return completedOrders;
    }
    public void setCurrentOrderInfo(String currentOrderInfo) 
    {
        this.currentOrderInfo = currentOrderInfo;
    }

    public String getCurrentOrderInfo() 
    {
        return currentOrderInfo;
    }
    public void setRegistrationTime(Date registrationTime) 
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime() 
    {
        return registrationTime;
    }
    public void setCancellationTime(Date cancellationTime) 
    {
        this.cancellationTime = cancellationTime;
    }

    public Date getCancellationTime() 
    {
        return cancellationTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("completedOrders", getCompletedOrders())
            .append("currentOrderInfo", getCurrentOrderInfo())
            .append("registrationTime", getRegistrationTime())
            .append("cancellationTime", getCancellationTime())
            .append("status", getStatus())
            .toString();
    }
}
